/*
 * Copyright (c) 2001, 2002 Boris Pruessmann and others.
 * All rights reserved.   This program and the accompanying materials
 * are made available under the terms of the Common Public License v0.5
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/cpl-v05.html
 * 
 * Contributors:
 *    Boris Pruessmann - Initial implementation.
 */
package net.sourceforge.perforce.api;

import org.eclipse.core.runtime.IStatus;

/**
  * This interface is used to pass information to 
  * IClientApi.run(IPerforceCommand).
  * 
  * @version $Revision: 252 $
  * @author  <a href="mailto:bpruessmann@users.sourceforge.net>Boris Pruessmann</a>
  * 
  * TODO: Move to net.sourceforge.perforce.core
  */
public interface IPerforceCommand extends IClientUserDelegate
{
	// ------------------------------------------------------------------------------------- Methods
	
	/** Returns the command to execute.
	  * 
	  * @return the command.
	  */
	String getCommand();
	
	/** Returns the Status of the operation.
	  * @return the operation's status.
	  */
	IStatus getStatus();
}
